import java.util.Arrays;

public class PalindromeList {
    public static void main(String[] args) {
/*        short s = 12;
        s = (short) (s+2);
        System.out.println(s);*/
       /* PalindromeList p = new PalindromeList();
        p.count(35);*/
        int[] array1 = {1,2,3,4};
        func1(array1);
        System.out.println(Arrays.toString(array1));
    }
    public static void func1(int[] array){
        array = new int[]{15,16,17};
    }
    //求一个整数二进制中1的个数
    public void count(int a){
        int count = 0;
        while (a > 0){
            if ((a & 1) ==1){
                count++;
                a = a>>>1;
            }else {
                a = a>>>1;
            }

        }
        System.out.println(count);
    }
}
